<%@ page language="java" import="java.util.*,office.BusiUtil" pageEncoding="UTF-8"%>
<%@include file="/common/jsp/taglibs-nojs-nocss.jsp"%>
<%@ page isELIgnored="false" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<div id="pop_up_content">
	<div class="pop_up_title images_1">
		新建绩效考核
	</div>
	<div class="pop_up_body">
		<form id="thisForm" action="saveExamineManager.action" method="post" >
		<table border="0" cellpadding="0" cellspacing="0"  width="400">
			<tr>
				<td>
					<div class="form_input_value">
						考核题目
					</div>
				</td>
				<td>
					<input type="hidden" name="examineManageVo.user.id" value="<s:property value='#session.user.userId'/>" >
					<input type="hidden" name="examineManageVo.status" value="1" >
					<input type="text" id="name" name="examineManageVo.name"  class="longinput required" >
				</td>
			</tr>
			<tr>
				<td>
					<div class="form_input_value">
						考核类型
					</div>
				</td>
				<td>
					<s:select id="type" list="#{'月度考核':'月度考核','临时考核':'临时考核'}" name="examineManageVo.type" headerKey="" headerValue="请选择" value="examineManageVo.type" theme="simple" cssClass="required"/>
				</td>
			</tr>
			<tr>
				<td>
					<div class="form_input_value">
						备注
					</div>
				</td>
				<td>
					<input type="text" id="memo" name="examineManageVo.memo" value="" class="longinput required" >
				</td>
			</tr>
			<tr>
				<td></td>
				<td>
					<input type="button" id="thisButton" value="提交" class="btn" onmouseout="this.className='btn'" onmousedown="this.className='btn1'" onmouseover="this.className='btn2'">
					<input type="button" value="取消" class="btn" onclick="hideDialog();" onmouseout="this.className='btn'" onmousedown="this.className='btn1'" onmouseover="this.className='btn2'">
				</td>
			</tr>
		</table>
		</form>
	</div>
</div>
<script type="text/javascript">
	/* 表单提交 */
	i.formSubmit("thisButton",	//绑定的按钮id
					  "thisForm" ,   //提交的表单id
					  function(result){
						  	var jsonMsgObj=new JsonMsgObj(result);
							var  msg=jsonMsgObj.getMessage();
						    var codeId=jsonMsgObj.getCodeid();
							var isOk=jsonMsgObj.getIsok();
							if( isOk ){
							    aerouiAlert(msg);
								hideDialog();// 隐藏窗口
								window.location.reload();
							}else{		// 如果编辑失败了
							  JsManageInfoHandleException( result , function(msg , codeId , isOk){
							  		hideDialog();// 隐藏窗口
							   });
						   }
						});
</script>